﻿using GetClient_info;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Vision.AlgBase.InspeAlg
{
    [ServiceData(SeriveName = "回车", Descri = "啥也不检测")]
    public class TempEnterClickAlg : ToolBase
    {
    

        protected override bool Excute()
        {
            //测试算法
            string str = GetIntPtr();
            if (str.Contains("OK"))
            {
                OperationWindowProcess.Send_enter2(ContorIntprt);
                OperationWindowProcess.Send_enter2(ContorIntprt);
                ErrLog = "";
                return true;

            }
            else
            {
                ErrLog = str;
                return false;

            }

        }
    }
}
